//
//  CCDataType.h
//  ShadowMapping
//
//  Created by Daniel Corleone on 13/6/14.
//  Copyright (c) 2014年 iCloverStudio. All rights reserved.
//

#ifndef ShadowMapping_CCDataType_h
#define ShadowMapping_CCDataType_h

///
/// element data type here.
///
typedef bool                Boolean;
typedef char                Byte, *BytePtr, Int8, *Int8Ptr;
typedef unsigned char       UByte, *UBytePtr, UInt8, *UInt8Ptr;
typedef short               Int16, *Int16Ptr;
typedef unsigned short      UInt16, *UInt16Ptr;
typedef int                 Int32, *Int32Ptr;
typedef unsigned int        UInt32, *UInt32Ptr;
typedef long long           Int64, *Int64Ptr;
typedef unsigned long long  UInt64, *UInt64Ptr;

#if !defined(ENABLE_PRECISE_FLOAT)
typedef float   Real, *RealPtr;
#else
typedef double  Real, *RealPtr;
#endif  /// ENABLE_PRECISE_FLOAT

#include <string>
using namespace std;

typedef std::string String, *StringPtr;

#endif
